//interface：接口
//?：可选
export interface Person {
    id: string,
    name: string,
    age: number,
    address?: string
}

//自定义类型
export type Persons1 = Array<Person>
export type Persons2 = Person[]